package cn.labbook.bluetooth.service;

import cn.labbook.bluetooth.entity.TenantPay;
import cn.labbook.bluetooth.entity.TransferRecord;
import cn.labbook.bluetooth.pojo.vo.TencentOrderQueryVO;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * @Author: zhangyang
 * @Date: 2023/6/2 17:49
 * @Desc: 转账记录 service 接口
 */
public interface ITransferRecordService extends IService<TransferRecord> {

    /**
     * 向房东状态
     *
     * @param tenantPay     支付记录
     * @return              转账成功or失败
     */
    boolean transfer(TenantPay tenantPay);

    TencentOrderQueryVO orderQuery(String tenantPayId);

}
